package com.lab.idea.bl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lab.idea.mybatis.entity.LabEntity;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * excel工作表
 * </p>
 *
 * @author lab
 * @since 2023-11-08
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("bl_excel_sheet")
@ApiModel(value = "ExcelSheet对象", description = "excel工作表")
public class ExcelSheet extends LabEntity<ExcelSheet> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "sheetId",type = IdType.ASSIGN_ID)
    private String sheetId;

    @TableField("sheetName")
    private String sheetName;

    @TableField("sheetIndex")
    private Integer sheetIndex;

    @TableField("excelId")
    private String excelId;

    @TableField("columnRow")
    private Integer columnRow;

    @TableField(value = "copyId",exist = false)
    private String copyId;

    @TableField(value = "columns",exist = false)
    private List<ExcelColumn> columns;

    @Override
    public Serializable pkVal() {
        return null;
    }
}
